package com.tianxiabuyi.model.manage;

import com.alibaba.fastjson.annotation.JSONField;
import com.tianxiabuyi.model.base.TXBYObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by lujw on 2017/6/7.
 */
@Entity
@Table(name = "hospital_notice_comment")
public class HospitalNoticeComment extends TXBYObject {

    /**
     * 通知id
     */
    @Column(name = "notice_id")
    @JSONField(name = "notice_id")
    private Integer noticeId;

    /**
     * 员工id
     */
    @Column(name = "user_id")
    @JSONField(name = "user_id")
    private Integer userId;

    /**
     * 被at员工id
     */
    @Column(name = "at_id")
    @JSONField(name = "at_id")
    private Integer atId;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 评论时间
     */
    private String time;

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAtId() {
        return atId;
    }

    public void setAtId(Integer atId) {
        this.atId = atId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
